#pragma once #include <avr/io.h> #include <avr/pgmspace.h> // PSTR typedef unsigned char byte; typedef unsigned short word; typedef unsigned long dword; #define F(s) (PSTR(s)+0x8000) // Flash-String, bspw. F("Hallo") #define FP(s) (((char*)s)+0x8000) // Flash-Pointer, bspw. const PROGMEM char k[]="Welt"; const char*p=FP(k);
Detected encoding: ASCII (7 bit) | 2 |